package com.ytjj.qmyx.admin.controller;

import com.ytjj.common.api.CommonResult;
import com.ytjj.qmyx.admin.service.SelectChannelService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 
 * 
 * @Version: 1.0
 */
@RestController
@RequestMapping("/selectChannel")
public class SelectChannelController {

	@Resource
	private SelectChannelService selectChannelService;

	@GetMapping("/list")
	public CommonResult selectList(@RequestParam Integer selectExamId) {
		return CommonResult.success(selectChannelService.selectList(selectExamId));
	}
}
